#ifndef MPDMODEL_H
#define MPDMODEL_H

#include <glib-object.h>
#include <gtk/gtktreemodel.h>
#include <libmpd/libmpd.h>

#define TYPE_MPDMODEL (mpdmodel_get_type())
#define MPDMODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST(obj, TYPE_MPDMODEL, MpdModel))

typedef enum{
	DB_COLUMN_PATH,
	DB_COLUMN_NAME,
	DB_COLUMN_MAX,
}DBColumns;

typedef struct {
	GObject parent;
	MpdObj *mpd;
}MpdModel;

typedef struct {
	GObjectClass parent;
}MpdModelClass;

GType mpdmodel_get_type();
MpdModel* mpdmodel_new(MpdObj *mpd);

#endif //MPDMODEL_H
